//
//  CommonImageUploadCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/9/13.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonMediaModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, CommonImageUploadCellActionType) {
    //
    CommonImageUploadCellActionType_tap,
    //
    CommonImageUploadCellActionType_del
};

@interface CommonImageUploadCell : UICollectionViewCell

@property (weak, nonatomic) IBOutlet UIButton *delBtn;

@property (weak, nonatomic) IBOutlet UIImageView *mainImageView;

@property (nonatomic, copy) void(^CommonImageUploadCellBlock )(CommonImageUploadCellActionType type);

- (void)fillCellWithModel:(CommonMediaModel *)model;

@end

NS_ASSUME_NONNULL_END
